TARGETS = lab1.pdf lab2.pdf lab3.pdf lab4.pdf

all: $(TARGETS)

%.pdf : %.tex
	pdflatex $^

.PHONY:clean
clean:
	-rm *.out *.dvi *.aux $(TARGETS)